package com.ruoyi.ora.service;

import java.util.List;
import com.ruoyi.ora.domain.AssetsLike;

/**
 * 点赞Service接口
 * 
 * @author liuwp
 * @date 2025-04-10
 */
public interface IAssetsLikeService 
{
    /**
     * 查询点赞
     * 
     * @param id 点赞主键
     * @return 点赞
     */
    public AssetsLike selectAssetsLikeById(Long id);

    /**
     * 查询点赞列表
     * 
     * @param assetsLike 点赞
     * @return 点赞集合
     */
    public List<AssetsLike> selectAssetsLikeList(AssetsLike assetsLike);

    /**
     * 根据业务主键查询一条记录：点赞
     *
     * @param assetsLike 点赞
     * @return 点赞
     */
    public AssetsLike selectOneAssetsLike(AssetsLike assetsLike);

    /**
     * 新增点赞
     * 
     * @param assetsLike 点赞
     * @return 结果
     */
    public int insertAssetsLike(AssetsLike assetsLike);

    /**
     * 修改点赞
     * 
     * @param assetsLike 点赞
     * @return 结果
     */
    public int updateAssetsLike(AssetsLike assetsLike);

    /**
     * 修改点赞
     *
     * @param assetsLike 点赞
     * @param assetsLike 点赞条件
     * @return 结果
     */
    public int updateAssetsLikeCondition(AssetsLike assetsLike, AssetsLike assetsLikeCondition);

    /**
     * 批量删除点赞
     * 
     * @param ids 需要删除的点赞主键集合
     * @return 结果
     */
    public int deleteAssetsLikeByIds(Long[] ids);

    /**
     * 删除点赞信息
     * 
     * @param id 点赞主键
     * @return 结果
     */
    public int deleteAssetsLikeById(Long id);

    /**
     * 条件删除点赞
     *
     * @param assetsLike 点赞
     * @return 结果
     */
    public int deleteAssetsLikeByCondition(AssetsLike assetsLike);
}
